home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
misc
/
mf-db.zip
/
CSAMPLE\CONVERT\CONVTEST.C
next >
Wrap
C/C++ Source or Header
|
1993-09-18
|
572b
|
34 lines
/*
Simple test program with source code embeded
*/
#define NOT_DLL
#include "mfconv.c"
/*
Your non-standard WIN-MAIN type of thing...
*/
int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow)
HANDLE hInstance;
HANDLE hPrevInstance;
LPSTR lpCmdLine;
int nCmdShow;
{
LPSTR lpszDBName;
lpszDBName = lpCmdLine;
if (lstrlen(lpszDBName) == 0)
{
MessageBox(NULL, "PARAMETERS:\n<FULL_PATH_and_DB_FILE>", "ERROR", MB_OK);
return 0;
}
mfConvert(lpszDBName);
return 0;
}